import server from "@/utils/request";
// // 登录
// 教师登录mxh
export function teacher_login(playold: any = {}) {
    return server.post(`/school/login/teacher_login?username=${playold.username}&password=${playold.password}`)
}
// 学生登录
export function student_login(playold: any = {}) {
    return server.post(`/school/login/student_login?username=${playold.username}&password=${playold.password}`)
}
export function teacher_getTeacherByPage(playold: any = {}) {
    return server.get("/school/teacher/getTeacherByPage", { params: playold })
}
// 学生分页表
export function school_getSchoolByPage(playold: any = {}) {
    return server.get("/school/school/getSchoolByPage", { params: playold })
}


export function student_getStudentByPage(playold: any = {}) {
    return server.get("/school/student/getStudentByPage", { params: playold })
}

